package com.gzh.mapper;

import com.gzh.pojo.User01;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    public User01 findUserById(int id);

    @Select("select * from user")
    public List<User01> findAll();
}
